<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<?php $path = Yii::app()->theme->baseUrl . '/'; ?>
<head>
	<meta charset="utf-8" />
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<meta content="" name="description" />
	<meta content="Нишанов Максуд, Иргашев Дилшод" name="author" />

	<!-- BEGIN PLUGIN CSS -->
	<link href="<?php echo $path; ?>assets/plugins/pace/pace-theme-flash.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="<?php echo $path; ?>assets/plugins/jquery-slider/css/jquery.sidr.light.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="<?php echo $path; ?>assets/plugins/boostrap-checkbox/css/bootstrap-checkbox.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="<?php echo $path; ?>assets/plugins/dropzone/css/dropzone.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="<?php echo $path; ?>assets/plugins/jquery-datatable/css/jquery.dataTables.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $path; ?>assets/plugins/bootstrap-select2/select2.css" rel="stylesheet" type="text/css" media="screen" />
	<!-- END PLUGIN CSS -->

	<!-- BEGIN CORE CSS FRAMEWORK -->
	<link href="<?php echo $path; ?>assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $path; ?>assets/plugins/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $path; ?>assets/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $path; ?>assets/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $path; ?>assets/css/animate.min.css" rel="stylesheet" type="text/css" />
	<!-- END CORE CSS FRAMEWORK -->

	<!-- BEGIN CSS TEMPLATE -->
	<link href="<?php echo $path; ?>assets/css/style.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $path; ?>assets/css/responsive.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $path; ?>assets/css/custom-icon-set.css" rel="stylesheet" type="text/css" />

	<script type="text/javascript" src="<?php echo $path; ?>ckeditor/ckeditor.js"></script>
	<script type="text/javascript" src="<?php echo $path; ?>AjexFileManager/ajex.js"></script>
	<link href="<?php echo $path; ?>assets/img/logo.png" rel="shortcut icon" />
</head>
<!-- END HEAD -->

<!-- BEGIN BODY -->
<body class="">	
	
	<!-- BEGIN HEADER -->
	<?php $this->widget('application.modules.admin.widgets.Menu', array('block' => 'navbar')); ?>
	<!-- END HEADER --> 

	<!-- BEGIN CONTAINER -->
	<div class="page-container row-fluid"> 
		<?php $this->widget('application.modules.admin.widgets.Menu', array('block' => 'sidebar', 'menu' => $this->mainmenu)); ?>
		<?php $this->widget('application.modules.admin.widgets.Menu', array('block' => 'inner_menu', 'menu' => $this->menu)); ?>
		<!-- BEGIN PAGE -->
		<div class="page-content"> 
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<div id="portlet-config" class="modal hide">
				<div class="modal-header">
					<button data-dismiss="modal" class="close" type="button"></button>
					<h3>Widget Settings</h3>
				</div>
				<div class="modal-body"> Widget settings form goes here </div>
			</div>
			<div class="clearfix"></div>

			<div class="content">    
				<ul class="breadcrumb">
					<li>   
						<p>Вы находитесь здесь: </p><p>  					 							
						</p></li>     
					<i class="icon-angle-right"></i>  					 
					<li>
						<?php if (isset($this->breadcrumbs)): ?>
							  <?php
							  $this->widget('zii.widgets.CBreadcrumbs', array(
								  'links' => $this->breadcrumbs,
								  'homeLink' => false,
								  'tagName' => 'ul',
								  'separator' => '',
								  'activeLinkTemplate' => '<li><a href="{url}">{label}</a> <span class="divider">/</span></li>',
								  'inactiveLinkTemplate' => '<li><span>{label}</span></li>',
								  'htmlOptions' => array('class' => 'breadcrumb')
							  ));
							  ?>
	  						<!-- breadcrumbs -->
						  <?php endif ?>
					</li>                    
				</ul>
				<div class="page-title"> </a>
					<h3><?php echo CHtml::encode($this->pageTitle); ?></h3>
				</div>
				<?php foreach (Yii::app()->user->getFlashes() as $key => $message): ?>
	  				<div class="alert alert-<?php echo $key; ?>">
	  					<button data-dismiss="alert" class="close"></button>
						  <?php echo isset($message['title']) ? $message['title'] : $message; ?>
						  <?php if (isset($message['button'])): ?>
		  					<button type="button" class="btn btn-<?php echo $key;?> btn-sm btn-small pull-right"><?php echo $message['button']; ?></button>
						  <?php endif; ?>
	  				</div>
				  <?php endforeach; ?>
				<?php echo $content; ?>
				<div class="clearfix"></div>
			</div>
			<div class="clearfix"></div>
			<div class="admin-bar" id="quick-access" style="display:">
				<div class="admin-bar-inner">

					<button class="btn btn-danger  btn-add" type="button"><i class="icon-trash"></i> Move to trash</button>
					<button class="btn btn-white  btn-cancel" type="button">Cancel</button>
				</div>
			</div> 
			<!-- END PAGE --> 
		</div>

	</div>
	<!-- BEGIN CHAT --> 
	<div id="sidr">
		<div class="chat-window-wrapper">
			<div class="chat-header">					
				<div class="pull-right">
					<a href="#" class=""><div class="iconset top-settings-dark "></div> </a>
				</div>			
			</div>	
			<div class="side-widget">
				<div class="side-widget-title">group chats</div>
				<div class="side-widget-content">
					<div id="groups-list">
						<?php //$this->widget('ext.realtimeChatWidget.RealtimeChatWidget'); ?>
					</div>
				</div>
			</div>		
		</div>
	</div>
	<!-- END CHAT --> 
	<!-- END CONTAINER --> 
	<script src="<?php echo $path; ?>assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script> 
	<script src="<?php echo $path; ?>assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
	<!-- TOOOLS -->
	<script src="<?php echo $path; ?>assets/plugins/bootstrap-select2/select2.min.js" type="text/javascript"></script>
	<script src="<?php echo $path; ?>assets/plugins/dropzone/dropzone.min.js" type="text/javascript"></script>



	<script src="<?php echo $path; ?>assets/plugins/breakpoints.js" type="text/javascript"></script> 
	<script src="<?php echo $path; ?>assets/plugins/jquery-unveil/jquery.unveil.min.js" type="text/javascript"></script> 
	<!-- END CORE JS FRAMEWORK --> 
	<!-- BEGIN PAGE LEVEL JS --> 	
	<script src="<?php echo $path; ?>assets/plugins/pace/pace.min.js" type="text/javascript"></script>  
	<script src="<?php echo $path; ?>assets/plugins/jquery-slider/jquery.sidr.min.js" type="text/javascript"></script> 	
	<script src="<?php echo $path; ?>assets/plugins/jquery-numberAnimate/jquery.animateNumbers.js" type="text/javascript"></script> 
	<script src="<?php echo $path; ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script> 
	
	<!-- END PAGE LEVEL PLUGINS --> 	
	<script src="<?php echo $path; ?>assets/js/form_elements.js" type="text/javascript"></script>
	<script src="<?php echo $path; ?>assets/js/messages_notifications.js" type="text/javascript"></script>
	<script src="<?php echo $path; ?>assets/js/tabs_accordian.js" type="text/javascript"></script>
	
	<!-- BEGIN CORE TEMPLATE JS --> 
	<script src="<?php echo $path; ?>assets/js/core.js" type="text/javascript"></script> 
	<script src="<?php echo $path; ?>assets/js/demo.js" type="text/javascript"></script> 
        <script src="<?php echo $path; ?>assets/js/json-to-table.js" type="text/javascript"></script> 
	<!-- END CORE TEMPLATE JS --> 
	<!-- END JAVASCRIPTS -->
</body>
